package com.wdemo.tools;

import com.wdemo.contants.SpringAiContants;
import com.wdemo.tools.result.ServeItemInfo;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.ai.tool.annotation.Tool;
import org.springframework.ai.tool.annotation.ToolParam;

/**
 * @ClassName ServeItemTool
 * @Description 查询服务项
 * @Author WDEMO
 * @Date 2025/8/24 11:18
 */
@Slf4j
//@Component
@RequiredArgsConstructor
public class ServeItemTool {

    @Tool(description = SpringAiContants.Tools.QUERY_SERVE_ITEM_BY_ID)
    public ServeItemInfo getServeItemInfo(@ToolParam(description=SpringAiContants.ToolParams.SERVE_ITEM_ID) Long serveItemId){
        log.info("根据服务项id查询服务项详细信息，服务项id：{}",serveItemId);


        return new ServeItemInfo();
    }
}
